package com.tbvtc.agriculturalcreditchainserver2025.dto.Cart;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class CartInfoDto {
   @Schema(description = "购物id")
    private Integer id;
    @Schema(description = "用户id")
    private Integer userId;
    @Schema(description = "商品id")
    private Integer goodId;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "商品价格")
    private Double price;
    @Schema(description = "商品图片")
    private String cropImage;
    @Schema(description = "商品数量")
    private Integer num;

}
